Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read active stake rather than validator list balance #69

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

ebatsell
Copy link
Collaborator

@ebatsell ebatsell commented Jul 31, 2024

Pulls active stake lamports from stake account rather than validator list. Note that active stake does not include stake rent, as that is included in another field in the StakeStateV2 account. Should fix issues where excessive stake was being delegated.

@ebatsell ebatsell marked this pull request as ready for review July 31, 2024 23:15
@ebatsell ebatsell merged commit 74d6971 into master Jul 31, 2024
4 of 6 checks passed
@ebatsell ebatsell deleted the evan/read-active-stake branch July 31, 2024 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant